ACFWF\Models\Editor_Blocks S

Total Complexity 44
Dependencies 7
Dependents 1
Total lines 611
Lines of code 279
Logical lines of code 96
Comment lines 235
Methods 20
Properties 3

Methods 20

Method Rating Maintainability Complexity Lines of code
sort_coupons_list_by_expiry()
A
56 10 17
render_coupons_by_category_block()
S
47 4 40
_append_sort_arguments_for_query()
S
56 3 17
render_single_coupon_block()
S
59 3 13
load_coupons_list_template()
S
53 2 24
_register_blocks()
S
49 1 36
_get_single_coupon_atts()
S
59 2 16
_get_coupons_by_category_atts()
S
60 2 14
_get_coupons_by_customer_atts()
S
61 2 13
register_acfw_block_category()
S
63 2 11
_get_shared_atts()
S
59 1 17
_get_layout_atts()
S
60 1 16
run()
S
68 2 7
_get_coupons_from_queried_ids()
S
69 2 6
get_instance()
S
70 2 6
_get_coupon_display_data()
S
71 1 6
_get_attributes_default_values()
S
70 1 6
render_coupons_by_customer_block()
S
72 1 5
initialize()
S
82 1 3
__construct()
S
71 1 6